package com.learn.hibernatevalidator.chapter03.inheritance.returnvalue;

import jakarta.validation.constraints.NotNull;

import java.util.List;

/**
 * @author: liyf
 * @create: 2025-01-01 22:07
 **/
public interface Vehicle {

    @NotNull
    List<Person> getPassengers();
}
